﻿using StockViz.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;

namespace StockViz.Controllers
{
    public class HomeController : Controller
    {
        public async Task<ActionResult> Index()
        {
            var client = new YahooClient();
            return View();
        }

        public class ResultsModel
        {
            public string Raw { get; set; }
        }

        public ActionResult About()
        {
            ViewBag.Message = "A demo of Stock Visualization.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
    }
}